﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wq.MeetingService.Entities
{
    [Tenant("meeting")]
    [SugarTable("Wq_Brand")]
    public class BrandInfo
    {
        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(ColumnDescription = "Id", IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        [SugarColumn(ColumnDescription = "品牌名称")]
        public string Name { get; set; }

        /// <summary>
        /// 排序序号
        /// </summary>
        [SugarColumn(ColumnDescription = "排序序号")]
        public int Sequence { get; set; }

        /// <summary>
        /// 首字母
        /// </summary>
        [SugarColumn(ColumnDescription = "首字母", Length = 2)]
        public string FirstLetter { get; set; }

        /// <summary>
        /// 品牌Logo
        /// </summary>
        [SugarColumn(ColumnDescription = "品牌Logo")]
        public string Logo { get; set; }

        /// <summary>
        /// 是否热门
        /// </summary>
        [SugarColumn(ColumnDescription = "是否热门")]
        public bool IsPartner { get; set; }
    }
}
